package com.tungse.vthread;

/**
 * @Author : Tungse
 * @Date: 2025/8/14 16:48
 * @Description:
 */
public class Main {
    public static void main(String[] args) throws InterruptedException {

        Thread.ofPlatform().start(()->{
            System.out.println("hello platform thread");
        });

        new Thread(()->{
            System.out.println("hello thread");
        }).start();

        Thread vt = Thread.ofVirtual().start(()->{
            System.out.println("hello virtual thread");
        });
        vt.join();

    }
}
